@layout("/common/_container.html"){
<style>
	.input-group{
		/*width:45%;*/
	}
	.row input[type=text],.form-control, .single-line{
	    width:35%;
        float:left;
    }
    .error{
        color:red;
        float:left;
        padding-top: 7px;
        padding-left: 10px;
    }
    .isShow label{
        padding-right:10px;
        padding-top:3px;
    }
	.input-group{
		width:60%;
		margin:0 auto;
	}
	.row input[type=text]{
	width:45%; 
    }
    .error{
        color:red;
    }
</style>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <input type="hidden" id="catId" value="${item.catId}">

            <div class="row">
                <div class="col-sm-6 b-r">
                           <!--  <#input id="catId" name="自增Id" value="${item.catId}" underline="true"/>
                            <#input id="parentId" name="父ID" value="${item.parentId}" underline="true"/> -->
                            <#input id="catName" name="分类名称" value="${item.catName}" underline="false"/>
                             <div style="displa:flex;width:450px;height:50px;line-height:30px;margin:0 auto;">
                            <span>是否显示</span> 
                            <input type="radio" id="isNotShow" name="isShow" value="0" />不显示 
                            <input type="radio" id="isShow" name="isShow" value="1" />显示<br>
                            </div>
						<script>
	              		let isShow = ${item.isShow} == '1'
	              		$('#isShow').attr('checked', isShow),
	              		$('#isNotShow').attr('checked', !isShow);
	              		</script>	
	              		 <div style="displa:flex;width:450px;height:50px;line-height:30px;margin:0 auto;">
              			<span>是否显示楼层</span> 
                            <input type="radio" id="isNotFloor" name="isFloor" value="0" />不推荐 
                            <input type="radio" id="isFloor" name="isFloor" value="1" />推荐
                            </div>
						<script>
	              		let isFloor = ${item.isFloor} == '1'
	              		$('#isFloor').attr('checked', isFloor),
	              		$('#isNotFloor').attr('checked', !isFloor);
	              		</script>
                           <!--  <#input id="isShow" name="是否显示" value="${item.isShow}" /> -->
                </div>

                <div class="col-sm-6">
               				<!--  <#input id="catImg" name="分类图片" value="${item.catImg}" underline="true"/> -->
               					
                           <!--  <#input id="isFloor" name="是否显示楼层" value="${item.isFloor}" underline="true"/> -->
                            <#input id="catSort" name="排序号" value="${item.catSort}" underline="false"/>
                            <#avatar id="catImg" name="分类图片" avatarImg="${item.catImg}"  underline="false" />
                            <!-- <#input id="dataFlag" name="删除标志" value="${item.dataFlag}" underline="true"/>
                            <#input id="createTime" name="建立时间" value="${item.createTime}" /> -->
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="GoodsCatsInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="GoodsCatsInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/huamao/goodsCats/goodsCats_info.js"></script>
@}
